package net.wofly.cashier.reservation.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 预约定位
 * @author lign
 * @version 1.0
 * @created 17-十月-2017 23:09:08
 */
@Data
@Entity
@Table(name = "cashier_reservation_reservation")
@ApiModel(description = "预约定位")
public class Reservation {

	@Id
	@ApiModelProperty(value = "预约定位ID")
	private String reservationID;

	@ApiModelProperty(value = "客户ID")
	private String customerUserID;
	/**
	 * 操作人员ＩＤ
	 */
	@ApiModelProperty(value = "操作人员ＩＤ")
	private String employeeUserID;
	/**
	 * 就餐时间
	 */
	@ApiModelProperty(value = "就餐时间")
	private Long mealTime;
	/**
	 * 客户电话   长度：20
	 */
	@ApiModelProperty(value = "客户电话")
	private String mobile;
	@ApiModelProperty(value = "修改时间")
	private Long modifyDate;
	/**
	 * 修改员工ID
	 */
	@ApiModelProperty(value = "修改员工ID")
	private String modifyEmployeeUserID;
	/**
	 * 客户姓名   长度：20
	 */
	@ApiModelProperty(value = "客户姓名")
	private String name;

	/**
	 * 预约就餐时间
	 */
	@ApiModelProperty(value = "预约就餐时间")
	private Long reservationMealTime;
	/**
	 * 预约就餐类型
	 */
	@ApiModelProperty(value = "预约就餐类型")
	private Integer reservationMealType;
	/**
	 * 预约编号 长度：20
	 * <ul>
	 * <li>按天自动生成编号。第二天重新开始编号</li>
	 * </ul>
	 */
	@ApiModelProperty(value = "预约编号")
	private Integer reservationNo;
	/**
	 * 预约时间
	 */
	@ApiModelProperty(value = "预约时间")
	private Long reservationTime;
	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	private Integer status;
	/**
	 * 预约桌号
	 */
	@ApiModelProperty(value = "预约桌号")
	private String tableID;

	public Reservation() {

	}
}